<?php 
mysql_select_db($database_sepolwan_connect, $sepolwan_connect);
$query_ikut_me = "SELECT * FROM ikut WHERE dari = '".$row_sesi_member['id']."' ORDER BY id DESC";
$ikut_me = mysql_query($query_ikut_me, $sepolwan_connect) or die(mysql_error());
$row_ikut_me = mysql_fetch_assoc($ikut_me);
$totalRows_ikut_me = mysql_num_rows($ikut_me);
?>
<div id="emoticon" align="center">
<div id="emoticons">
<div style="padding:5px; background:#000; color:#FFF"><font size="-2">Mentions</font></div>
  <?php do { 
  $colname_member = "-1";
if (isset($row_ikut_me['ke'])) {
  $colname_member = $row_ikut_me['ke'];
}
mysql_select_db($database_sepolwan_connect, $sepolwan_connect);
$query_member = sprintf("SELECT * FROM memberdb WHERE id = %s", GetSQLValueString($colname_member, "text"));
$member = mysql_query($query_member, $sepolwan_connect) or die(mysql_error());
$row_member = mysql_fetch_assoc($member);
$totalRows_member = mysql_num_rows($member);
  ?>
  <div id="chat"><a style=" cursor:pointer" title="@<?php echo $row_member['nama_user']; ?>">
    <div><font size="-2"><?php echo $row_member['full_name']; ?> (<?php echo $row_member['nama_user']; ?>)</font></div></a></div>
  <?php

  mysql_free_result($member); 
   } while ($row_ikut_me = mysql_fetch_assoc($ikut_me)); ?>
   <div align="center" style="margin:10px"><font size="-2" color="#999999">mentions your friends</font></div>
</div></div>

<?php
mysql_free_result($ikut_me);
?>